<form class="form-inline" onsubmit="submitComment(this)" method="post" action="?com=content&action=comment" class="cmt-frm">
    <textarea name="comment" class="cmt" placeholder="Your comment..."></textarea>
    <input type="hidden" name="submit" value="comment" />
    <input type="hidden" name="userid" value="<?php echo $_SESSION['UID']; ?>" />
    <input type="hidden" name="entryid" value="<?php echo $entry['EntryId'] ?>" />
</form>